<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>短信登录</title>
</head>
<body>
<h1>短信登录</h1>
<div th:if="${param.error}">短信验证码错误</div>

<form th:action="@{/sms/login}" method="post">
    <div>
        <input type="text" name="phone" placeholder="用户名">
    </div>
    <div>
        <input type="text" name="code" placeholder="短信验证码">
    </div>
    <input type="submit" value="登录">
</form>
</body>
</html>